<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>

<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInLeft">
    <div data-th-replace="common/functionDepict"></div>
    <div>
        <div class="row">
            <div class="pt10">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>填写基本信息</h5>
                        </div>
                        <form id="saveGroomPlaceFrom" name="saveGroomPlaceFrom">
                            <input name="id" type="hidden" th:value="${groomPlace['id']}"/>
                            <div class="ibox-content">
                                <div class="form-horizontal">
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 推荐位置名称</label>
                                        <div class="col-sm-8">
                                            <input class="form-control validate-data" name="placeName" th:value="${groomPlace['placeName']}" type="text">
                                            <span class="help-block m-b-none c-999"> 推荐位置名称</span>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right"><i class="c-red">*</i> 推荐限制数量</label>
                                        <div class="col-sm-8">
                                            <input class="form-control validate-data" name="groomNum" th:value="${groomPlace['groomNum']}" type="text">
                                            <span class="help-block m-b-none c-999"> 添加推荐时不能超过此数量</span>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label"><i class="c-red">*</i>  推荐位置描述</label>
                                        <div class="col-sm-10">
                                            <textarea class="form-control" required="" style="width: 628px;height: 121px;resize: none;" name="depict" aria-required="true" placeholder="关于推荐位置的备注说明" th:text="${groomPlace['depict']}">

                                            </textarea>
                                           <!--<span class="help-block m-b-none c-999"> 举例：推荐位在****地方显示</span>-->
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <div class="col-sm-4 col-sm-offset-2">
                                            <button class="btn btn-danger" id="submitGroomPlace" type="button">保存</button>
                                            <button class="btn btn-white ml10" id="onBack" type="button">取消</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div data-th-replace="layout/head-footer"></div>
<script type="text/javascript" th:src="@{{path}/admin/business/op/groom/groomPlace_saveUpdate.js?v={v}(path=${staticPath},v=${v})}"> </script>
</body>
</html>
